package com.weather.domen;

import com.weather.pojo.entity.DeviceInfo;
import com.weather.pojo.vo.DeviceInfoVO;
import com.weather.pojo.vo.DeviceRuntimeDataVO;

import java.util.List;

public interface DeviceDomeService {
    List<DeviceInfoVO> getDeviceList();

    DeviceRuntimeDataVO getDeviceRuntimeDataById(Long deviceId);

    boolean addDevice(DeviceInfo deviceInfo);

    boolean updateDevice(DeviceInfo deviceInfo);

    boolean deleteDevice(Long deviceId);
}
